﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Work04_01.Models.POJO
{
    public class UserInfo
    {
        public string userId { get; set; }

        public string userName { get; set; }

        public string password { get; set; }

        public String deptId { get; set; }

        public void Copy(string userId, string userName, string password, string deptId)
        {
            this.userId = userId;
            this.userName = userName;
            this.password = password;
            this.deptId = deptId;
        }

        public UserInfo()
        {
        }

        public UserInfo(string userId, string userName, string password, string deptId)
        {
            this.userId = userId;
            this.userName = userName;
            this.password = password;
            this.deptId = deptId;
        }
    }
}